<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/23
  Time: 17:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <style type="text/css">
        html{height: 100%;}
        body{
            background-image: url("11.jpg");
            background-size: 100% 100%;
            padding: 0;
            margin: 0;
        }
    </style>
    <title>添加书籍信息</title>
    <style>
        a{
            text-decoration: none;
            color: black;
            font-size: 18px;
        }
        h3{
            width: 180px;
            height: 30px;
            margin: 100px auto;
            text-align: center;
            line-height: 30px;
            background: deepskyblue;
            border-radius: 10px;
        }
    </style>
</head>
<body>
    <h3>
        <%--${pageContext.request.contextPath}取绝对地址--%>
        <a href="${pageContext.request.contextPath}/book/allBook">进入书籍界面</a>
    </h3>

    <div align="center">
        <form action="${pageContext.request.contextPath}/book/addBook" method="post">
            <table class="table table-hover">
                <tr>
                    <td>书籍Id</td>
                    <td><input type="number" name="bookId"/></td>
                </tr>
                <tr>
                    <td>书籍名称</td>
                    <td><input type="text" name="bookName"/></td>
                </tr>
                <tr>
                    <td>书籍价格</td>
                    <td><input type="number"  name="bookPrice"/></td>
                </tr>
                <tr>
                    <td>书籍封皮图片信息</td>
                    <td><input type="text" name="bookFptpmessage"></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input class="btn btn-success" type="submit" value="添加"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>